const regexp/syntax.maxSize

5 uses

	regexp/syntax (current package)
		parse.go#L102: 	maxSize  = 128 << 20 / instSize
		parse.go#L187: 			if int64(n) > maxSize/p.repeats {
		parse.go#L188: 				p.repeats = maxSize
		parse.go#L193: 		if int64(p.numRegexp) < maxSize/p.repeats {
		parse.go#L206: 	if p.calcSize(re, true) > maxSize {